from django.contrib import admin
from .models import Activation, File, Video

@admin.register(Activation)
class ActivationAdmin(admin.ModelAdmin):
    list_display = ('user', 'created_at', 'code', 'email')


@admin.register(File)
class FileAdmin(admin.ModelAdmin):
    list_display = ('name', 'file')


@admin.register(Video)
class VideoAdmin(admin.ModelAdmin):
    list_display = ('name', 'path', 'uploaded_at')